export default {
  // 混入对象配置和vue组件一模一样
  methods: {
    checkPerm(pointName) {
      // 第二层权限数据在 roles.points里面
      const points = this.$store.state.user.profile.roles.points
      return points.includes(pointName)
    }
  }
}
